//
//  HGStatus.m
//  HGMM
//
//  Created by @HUI on 15/9/21.
//  Copyright (c) 2015年 cc. All rights reserved.
//

#import "HGStatus.h"
//#import "UserSet.h"
#import "UIView+ViewController.h"

@implementation HGStatus

-(void)getStatus:(CDVInvokedUrlCommand *)command{
    if (command.arguments.count != 0) {
        CDVPluginResult* pluginResult = [CDVPluginResult resultWithStatus:CDVCommandStatus_ERROR messageAsString:@"args is wrong!"];
        [self.commandDelegate sendPluginResult:pluginResult callbackId:command.callbackId];
        return ;
    }
    
    UIAlertController *alertVC = [UIAlertController alertControllerWithTitle:@"提示" message:@"该接口已不再适用海关新的安全要求" preferredStyle:UIAlertControllerStyleAlert];
    [alertVC addAction:[UIAlertAction actionWithTitle:@"确定" style:(UIAlertActionStyleDefault) handler:^(UIAlertAction * _Nonnull action) {
        
    }]];
    [self.webView.viewContoller presentViewController:alertVC animated:YES completion:nil];
    

}

@end
